package com.bit.springiocdemo.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Data
@Component
@ConfigurationProperties(prefix="dbtypes")
public class Dbtypes {
    private List<String> name;//对应配置项，dbtypes.name
    private Map<String, String> map;//对应配置项dbtypes.map
}
